package com.scjp.chapter3.self_test;

public class CardBoard {

	public CardBoard go(CardBoard cb) {
		cb = null;
		return cb;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		CardBoard cb1 = new CardBoard();
		CardBoard cb2 = new CardBoard();
		CardBoard cb3 = cb1.go(cb2);
		
		cb1 = null;
		
		System.out.println("1 => " + cb1 + "\n2 => " + cb2 + "\n3 => " + cb3);
	}

}
